package com.inspsys.algorithms.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.inspsys.common.annotation.Excel;
import com.inspsys.common.core.domain.BaseEntity;

/**
 * 巡检报告对象 algorithms_report
 * 
 * @author inspsys
 * @date 2025-01-09
 */
public class AlgorithmsReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 巡检时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "巡检时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inspectionDate;

    /** 负责人 */
    @Excel(name = "负责人")
    private String personInCharge;

    /** 巡检区间 */
    @Excel(name = "巡检区间")
    private String inspectionInterval;

    /** 巡检内容 */
    @Excel(name = "巡检内容")
    private String inspectionContent;

    /** 巡检格式 */
    @Excel(name = "巡检格式")
    private String inspectionFormat;

    /** 巡检结果 */
    @Excel(name = "巡检结果")
    private String inspectionResult;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInspectionDate(Date inspectionDate) 
    {
        this.inspectionDate = inspectionDate;
    }

    public Date getInspectionDate() 
    {
        return inspectionDate;
    }
    public void setPersonInCharge(String personInCharge) 
    {
        this.personInCharge = personInCharge;
    }

    public String getPersonInCharge() 
    {
        return personInCharge;
    }
    public void setInspectionInterval(String inspectionInterval) 
    {
        this.inspectionInterval = inspectionInterval;
    }

    public String getInspectionInterval() 
    {
        return inspectionInterval;
    }
    public void setInspectionContent(String inspectionContent) 
    {
        this.inspectionContent = inspectionContent;
    }

    public String getInspectionContent() 
    {
        return inspectionContent;
    }
    public void setInspectionFormat(String inspectionFormat) 
    {
        this.inspectionFormat = inspectionFormat;
    }

    public String getInspectionFormat() 
    {
        return inspectionFormat;
    }
    public void setInspectionResult(String inspectionResult) 
    {
        this.inspectionResult = inspectionResult;
    }

    public String getInspectionResult() 
    {
        return inspectionResult;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("inspectionDate", getInspectionDate())
            .append("personInCharge", getPersonInCharge())
            .append("inspectionInterval", getInspectionInterval())
            .append("inspectionContent", getInspectionContent())
            .append("inspectionFormat", getInspectionFormat())
            .append("inspectionResult", getInspectionResult())
            .toString();
    }
}
